import request from '@/utils/request'

// 获取待狩猎的宝可列表
export function getWaiteHuntList(data) {
	return request({
		url: '/crazyTrain/getWaiteHuntList?curPage=' + data.page + "&curPageSize=" + data.size,
		method: 'get',
	})
}
// 对选中的宝可进行受理
export function pocoHunting(data) {
	return request({
		url: '/crazyTrain/pocoHunting',
		method: 'post',
		data:data
	})
}
// 获取我所有【狩猎中】的宝可列表
export function getHuntingList(data) {
	return request({
		url: '/crazyTrain/getHuntingList?curPage='+data.page+"&curPageSize="+data.size,
		method: 'get'
	})
}
// 一键领取所有
export function takeHunted() {
	return request({
		url: '/crazyTrain/takeHunted',
		method: 'get'
	})
}
// 列车统计
export function getHuntStatistics() {
	return request({
		url: '/crazyTrain/auth/getHuntStatistics',
		method: 'get'
	})
}
//探险记录
export function getCrazyRecord(data) {
	return request({
		url: '/crazyTrain/getCrazyRecord/'+data.page+'/'+data.size,
		method: 'get'
	})
}
// 探险次数
export function getCrazyRecordCount() {
	return request({
		url: '/crazyTrain/getCrazyRecordCount',
		method: 'get'
	})
}
